-- GENERATED SPELL FOR [Lake Frog] --


function spell0_33224(pUnit, Event) --@Warts!,n/a--
pUnit:FullCastSpellOnTarget(62581,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_33224', 45335, 1)
end

function Sorts_33224(pUnit, Event)
local choix_sorts_33224 = math.random(0, 0)
if choix_sorts_33224 == 0 then
pUnit:RegisterEvent('spell0_33224', 1, 1)
end
end

function mob33224_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_33224', math.random(1500, 3000), 1)
end

function mob33224_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33224_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33224_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(33224, 1, 'mob33224_Action')
RegisterUnitEvent(33224, 2, 'mob33224_Leave')
RegisterUnitEvent(33224, 3, 'mob33224_Kill')
RegisterUnitEvent(33224, 4, 'mob33224_Die')
